package com.elrichuang.userserver.domain.vo;

import com.elrichuang.userserver.enums.CandidateStatusEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class TrainingVo implements Serializable {
	private static final long serialVersionUID = -1001355654337485285L;

	/** 培训主键 */
	private Long trainingId;

	private String periodsName;

	private String trainingUserName;

	private String status;

	private String statusStr;

	private String remarks;

	private String userName;

	private List<TrainingResultVo> results;

	public String getStatusStr()
	{
		return CandidateStatusEnum.fromCode(this.status).getInfo();
	}
}
